<extend name="Index:info"/>
<block name="body">
  <div class="panel admin-panel">
    <div class="panel-head"><strong><span class="icon-key"></span> 编辑权限</strong><strong style="display: block;float: right;"> <a href="{:U('rule/index')}"> 返回权限列表</a></strong></div>
    <div class="body-content">
      <form method="post" class="form-x" action="{:U('rule/editrule')}">

        <div class="form-group">
          <div class="label">
            <label>名称：</label>
          </div>
          <div class="field">
            <input type="text" class="input" name="title" value="{$rules.title}"  style="width:30%"/>
          </div>
        </div>

        <div class="form-group">
          <div class="label">
            <label>分组url：</label>
          </div>
          <div class="field">
            <input type="text" class="input" name="name" value="{$rules.name}"  style="width:30%"/>
          </div>
        </div>


        <div class="form-group">
          <div class="label">
            <label>类型：</label>
          </div>
          <div class="field">
            <input type="text" class="input" name="type" value="{$rules.type}"  style="width:10%"/>
          </div>
        </div>

        <div class="form-group">
          <div class="label">
            <label>权限：</label>
          </div>
          <div class="field">
            <input type="text" class="input" name="status" value="{$rules.status}"  style="width:10%"/>
          </div>
        </div>
            <input type="hidden" name="id" value="{$rules.id}"/>
        <div class="form-group">
          <div class="label">
            <label></label>
          </div>
          <div class="field">
            <button class="button bg-main icon-check-square-o" type="submit"> 提交</button>
          </div>
        </div>
      </form>
    </div>
  </div>
</block>